import { createApp } from 'vue'
import App from './App.vue'
import './common/base.css'
// element-ui样式，图标和组件引入
import 'element-plus/dist/index.css'
import * as elementIcons from '@element-plus/icons-vue';
import ElementPlus from 'element-plus'
// 路由引入
import router from './router/index'

const app = createApp(App)
app.use(ElementPlus)

for (let iconName in elementIcons) {
    app.component(iconName, elementIcons[iconName]);
}
app.use(router).mount('#app');